
#include<at89x52.h>
void dely()
{int a,b;
for(b=0;b<1000;b++)
{
for(a=655535;a>0;a--)
{;}
}
}
void shu()
{char g[10]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f};
 char k[8]={0X7F,0XBF,0XDF,0XEF,0XF7,0XFB,0XFD,0XFE};
int i,j;
for(i=0,j=0;;i++,j++)
 {P0=g[i%10];//P3_6=0;
  dely();
 P1=k[j%8];
 }
 }
